package com.itheima.loop;

public class WhileTest5 {
    public static void main(String[] args) {
       test();
    }
    public static int test() {
        double i = 8848860;
        double thickness = 0.1;
        int fold=0;
        while (thickness < i){
            thickness *= 2;
            fold++;
        }
        System.out.println(fold);
        return fold;

    }
}
